<?php
//   +----------------------------------------------------------------------
//   | Copyright (c) 2015-2025 http://www.hdphp.cn All rights reserved.
//   | Licensed ( http://www.hdphp.cn/licenses/ )
//   | Author: Jack <sophia2152@qq.com>
//   | 官方网址: http://www.hdphp.cn
//   | 这不是一个自由软件！您只能在不用于商业目的的前提下对程序代码进行修改和使用。
//   | 任何企业和个人不允许对程序代码以任何形式任何目的再发布。
//   +----------------------------------------------------------------------
namespace hdphp\services\wechat\MiniPayment;

use hdphp\services\wechat\MiniPayment\Payment\WeChatClient;
use EasyWeChat\MiniProgram\Application as PaymentApplication;

/**
 * Class：Application
 * 创建人：Jack
 * 创建时间：2023/12/11 15:45
 * @package hdphp\services\wechat\MiniPayment
 * @method WeChatClient createorder(array $params)
 * @property \hdphp\services\wechat\MiniPayment\Payment\WeChatClient $orders
 */
class Application extends PaymentApplication
{

    protected $mini_providers = [
        Payment\ServiceProvider::class
    ];

    public function __construct(array $config = [], array $prepends = [], string $id = null)
    {
        $this->providers = array_merge($this->mini_providers, $this->providers);
        parent::__construct($config, $prepends, $id);

    }
}